﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="discuss_in.aspx.cs" Inherits="map_in" %>

<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">        
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="AllOb-Table">
    <div id="AllTitle">討論區-<asp:Literal ID="ltlName" runat="server"></asp:Literal></div>
    <div id="Sbtn"><a href="discuss.aspx?node=41">合作單位討論區</a>　
       <a href="discuss.aspx?node=437">長照樂智文件下載區</a></div>
    <table border="0" cellpadding="0" cellspacing="10" class="Reoturce01-Table">
      <tr>
      <td>
          <asp:Literal ID="ltlContent" runat="server"></asp:Literal>
      </td>
      </tr>
      </table>
    <div id="All-Stitle">
        <asp:Literal ID="ltlTitle" runat="server"></asp:Literal><br>
    </div>
    <div class="Discuss-Day">
        <asp:Button ID="btnDelete" runat="server" Text="刪除" 
            onclick="btnDelete_Click" Visible="false" OnClientClick="return confirm('將會連回覆一起刪除。確定刪除文章?')" />發文日期：<asp:Literal ID="ltlCreatedDate" runat="server"></asp:Literal>　發文者：<asp:Literal ID="ltlCreatedBy" runat="server"></asp:Literal>      </div>
    <div class="Discuss-ob">
        <asp:Literal ID="ltlHtmlContent" runat="server"></asp:Literal>
        <br />
         <asp:Literal ID="ltlFile" runat="server"></asp:Literal>
        </div>
       
    <img src="image/freeback.png" width="580" height="23" border="0" usemap="#Map" class="discuss-pp">
    <map name="Map">
        <asp:Literal ID="ltlFeedbackContent" runat="server"></asp:Literal>      
    </map>
<asp:Repeater ID="RepeaterList" runat="server" 
            OnItemDataBound="RepeaterList_ItemDataBound" 
            onitemcommand="RepeaterList_ItemCommand" >
            <ItemTemplate>
<div class="Discuss-Day"><asp:Button ID="btnDelete" runat="server" Text="刪除" 
            CommandArgument='<%# Eval("PostId") %>' CommandName="myDel" Visible="false" OnClientClick="return confirm('確定刪除回覆?')" />回覆日期：<asp:Label ID="lblCreatedDate" runat="server" Text='<%# Eval("CreatedDate","{0:yyyy.MM.dd}") %>'></asp:Label>　　　回覆者：<asp:Literal ID="ltlCreatedBy" runat="server" Text='<%# Bind("CreatedBy") %>'></asp:Literal></div>
    <div class="Discuss-ob2"><asp:Literal ID="ltlHtmlContent" runat="server"></asp:Literal></div>
</ItemTemplate>
        </asp:Repeater>     
                
<div id="NumberPage">
            <Webdiyer:AspNetPager ID="AspNetPager1" runat="server"
                OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="10"
                ShowPageIndexBox="Never" ShowFirstLast="false" PrevPageText="上一頁" NextPageText="下一頁" />
        </div>  
        </div>
</asp:Content>

